package xyz.zhouzhaodong.crm.service;

import xyz.zhouzhaodong.crm.dto.AdmissionDto;
import xyz.zhouzhaodong.crm.entity.Admission;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.zhouzhaodong.crm.util.RestMessage;

/**
 * <p>
 * 录取表 服务类
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-19
 */
public interface IAdmissionService extends IService<Admission> {

    /**
     * 新增录取信息
     * @param admissionDto
     * @return
     */
    RestMessage addAdmission(AdmissionDto admissionDto);

    /**
     * 删除录取信息
     * @param admissionDto
     * @return
     */
    RestMessage deleteAdmission(AdmissionDto admissionDto);

    /**
     * 修改录取信息
     * @param admissionDto
     * @return
     */
    RestMessage updateAdmission(AdmissionDto admissionDto);

    /**
     * 查询录取信息
     * @param admissionDto
     * @return
     */
    RestMessage selectAdmission(AdmissionDto admissionDto);

    /**
     * 根据用户id查询录取信息
     * @param admissionDto
     * @return
     */
    RestMessage selectAdmissionList(AdmissionDto admissionDto);

}
